<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="css/public.css" media="all">
		<link rel="stylesheet" href="css/system.css" media="all">
		<script type="text/javascript" src="layui/layui.js"></script>
		<script type="text/javascript" src="layui/css/layui.css"></script>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/system.js"></script>
		<script type="text/javascript" src="js/paging.js"></script>
		<script type="text/javascript" src="js/jquery.tree.js"></script>
		<title>系统设置-请假费用设置</title>
	</head>
	<body onload="pageStart(742)">
		<!--选择部门start-->
		<div style="display: none;" id="departDiv" class="add-container">
			<div class="black-cloth"></div>
			<div class="add-content" style="width: 530px;height: 360px;top: 40%;">
				<div class="popup-top">
					<label class="popup-add-title">关联部门与员工</label>
					<img onclick="closePop(5);" src="img/close_icon.png"/>
				</div>
				<div id="sys-left-depart" class="sys-depart-div" style="width: 240px;margin-left: 30%;overflow-y: scroll;border: none;">
				</div>
				<div class="sys-popup-item">
					<button class="cancelBtn cancelBtn-depart" style="margin-left: 320px;" onclick="closePop(5);" >取消</button>
					<button class="saveBtn cancelBtn-depart" onclick="costDepartDataSave(2);">确定</button>
				</div>
					
			</div>
		</div>
		<!--选择部门end-->
		<div class="page-div" style="margin: 0;">
			<a href="system_cost_settings.html">
			<div id="title_one" class="tab-div-unclick">				
				加班费用设置				
			</div>
			</a>
			<a href="system_leave_settings.html">
			<div id="title_two" class="tab-div-click">				
				请假费用设置
			</div>
			</a>
		</div>
		<div class="data-div" style="margin-top: 0rem;">
			<div class="sys-title">费用设置 (请根据您企业的实际情况选择下列各项，将为您量身定制一些基础配置)</div>
			<div class="popup-item">
				<label class="sys-left-title" style="width: 7.5rem;">您选择的部门：</label>
				<!-- 选择的部门数据 -->
				<div class="choose-depart-div">
					<div id="sys-depart-data" class="sys-depart-data" style="display: block;width: 100%;">
					</div>
					<button class="sys-add sys-last sys-depart" onclick="showPic(5);"  style="margin-left: 3%;width: 8.125rem;height: 2.6875rem;">
						选择参与的部门</button>
				</div>
			</div>
			<div class="popup-item">
				<label class="sys-left-title" style="width: auto;">您选择的请假扣款规则（请选择以下任意一项请假扣款规则）：</label>
			</div>
			<div class="popup-item">
				<input id="leaveType1" type="checkbox" name="leaveId" value="1" style="float: left;margin-top: 0.625rem;margin-left: 0.625rem;" onclick="leaveCheckBox(1);">
				<label class="sys-left-title" style="width: auto;">1、请假扣款以天为单位，按照基本工资/应出勤日*请假天数；</label>
			</div>
			<div class="sys-leave-div">
				<label style="float: left;margin-left: 6.25rem;">请假</label>
				<input id="leaveTime" class="sys-input sys-input-short" type="number"/>
				<label>&nbsp;&nbsp;小时 以内不扣款，超过</label>
				<input id="halfTime" class="sys-input sys-input-short" type="number"/>
				<!-- <label>&nbsp;&nbsp;小时 按照0.5天计算，超过半天算一天</label> -->
				<label>&nbsp;&nbsp;小时 按照岗位工资扣钱。</label>
				<!-- <input id="allTime" class="sys-input sys-input-short" type="number"/> -->
				<!-- <label>&nbsp;&nbsp;小时 按照1天计算。</label> -->
			</div>
			<div class="popup-item">
				<input id="leaveType2" type="checkbox" name="leaveId" value="2" style="float: left;margin-top: 0.625rem;margin-left: 0.625rem;" onclick="leaveCheckBox(2);">
				<label class="sys-left-title" style="width: auto;">2、请假扣款以小时为单位，按照基本工资/应出勤日/工作时长（日）*请假时长（小时）</label>
			</div>
			<div class="popup-item" style="text-align: center;">
				<center>
				<button type="button" class="saveBtn" onclick="leaveAddSave();" style="margin-left: 3.125rem;">保存</button>
				<button class="cancelBtn" onclick="leaveAddSave();" style="margin-left: 1.875rem;" >取消</button>
				</center>
			</div>
			<input id="leaveId" style="display: none;" value=""/>
		</div>
	</body>
</html>
